package com.blb.ssm.entity;

/**
 * 用户表user
 * @author Administrator
 *
 */
public class User {
	private String uid;			//用户表用户id
	private String uname;		//用户表昵称
	private String username;	//用户表用户名
	private String password;	//用户表密码
	private String rolename;    //用户权限
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public User() {
		super();
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public User(String uid, String uname, String username, String password, String rolename) {
		super();
		this.uid = uid;
		this.uname = uname;
		this.username = username;
		this.password = password;
		this.rolename = rolename;
	}
	@Override
	public String toString() {
		return "User [uid=" + uid + ", uname=" + uname + ", username=" + username + ", password=" + password
				+ ", rolename=" + rolename + "]";
	}
	
}
